package cts.business;

import java.util.List;

import cts.db.Exam;
import cts.db.ExamDAO;

public class ExamOP {
	
	ExamDAO examDAO = new ExamDAO();
	
	public List<Exam> getExams(){
		return (List<Exam>)examDAO.findAll();
	}
	
	public Exam getExamDetail(int eid){
		return examDAO.findById(eid);
	}

}
